﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zzj.Model
{
    public class BillModel : BaseNotify
    {
        /// <summary>
        /// id
        /// </summary>
        public long _id { get; set; }

        public long Id
        { get { return _id; } set { _id = value; this.DoNotify(); } }

        /// <summary>
        /// Tytpe判断销售，采购
        /// </summary>
        public string _type { get; set; }

        public string Type
        { get { return _type; } set { _type = value; this.DoNotify(); } }

        /// <summary>
        /// 展示装卸量
        /// </summary>

        public double _zxquantity { get; set; }

        public double ZxQuantity
        { get { return _zxquantity; } set { _zxquantity = value; this.DoNotify(); } }

        /// <summary>
        /// 单据名称
        /// </summary>
        public string _name { get; set; }

        public string Name
        { get { return _name; } set { _name = value; this.DoNotify(); } }

        /// <summary>
        /// 单据名称
        /// </summary>
        public string _photofileId { get; set; }

        public string PhotofileId
        { get { return _photofileId; } set { _photofileId = value; this.DoNotify(); } }

        /// <summary>
        /// 单据名称
        /// </summary>
        public string _driverMacCard { get; set; }

        public string driverMacCard
        { get { return _driverMacCard; } set { _driverMacCard = value; this.DoNotify(); } }

        /// <summary>
        /// 出厂时间
        /// </summary>
        public string _ccTime { get; set; }

        public string Cctme
        { get { return _ccTime; } set { _ccTime = value; this.DoNotify(); } }

        /// <summary>
        /// 榜单打印次数
        /// </summary>
        public string _hasPrint { get; set; }

        public string hasPrint
        { get { return _hasPrint; } set { _hasPrint = value; this.DoNotify(); } }

        ///// 出厂时间
        ///// </summary>
        //public string _sealNumber { get; set; }
        //public string SealNumber { get { return _sealNumber; } set { _sealNumber = value; this.DoNotify(); } }

        /// <summary>
        /// 0已保存 1审核中 2审核通过 3审核不通过 4无需审核
        /// </summary>
        public string _examine_status { get; set; }

        public string examineStatus
        { get { return _examine_status; } set { _examine_status = value; this.DoNotify(); } }

        /// <summary>
        /// 0已保存 1已预约 2已制卡 3已进场 4称皮重 5业务结束 6称毛重 7已结算 8完结出场 10 预约等待 11作废 12过期 13报道 20排队 21叫号 30质检 50
        /// 业务开始 40皮重复磅 60毛重复磅
        /// </summary>
        public string _status { get; set; }

        public string Status
        { get { return _status; } set { _status = value; this.DoNotify(); } }

        /// <summary>
        /// 编码
        /// </summary>
        public string _code;

        public string Code
        { get { return _code; } set { _code = value; this.DoNotify(); } }

        /// <summary>
        /// 是否删除 0未删除 1已删除
        /// </summary>
        public string _del_status { get; set; }

        public string delStatus
        { get { return _del_status; } set { _del_status = value; this.DoNotify(); } }

        /// <summary>
        /// 排序
        /// </summary>
        public string _sort { get; set; }

        public string Sort
        { get { return _sort; } set { _sort = value; this.DoNotify(); } }

        /// <summary>
        /// 备注
        /// </summary>
        public string _msg { get; set; }

        public string Msg
        { get { return _msg; } set { _msg = value; this.DoNotify(); } }

        /// <summary>
        /// 备注
        /// </summary>
        public string _memo { get; set; }

        public string Memo
        { get { return _memo; } set { _memo = value; this.DoNotify(); } }

        /// <summary>
        /// 公司id
        /// </summary>
        public Nullable<long> _company_id { get; set; }

        public Nullable<long> CompanyId
        { get { return _company_id; } set { _company_id = value; this.DoNotify(); } }

        /// <summary>
        /// 公司编码
        /// </summary>
        public string _company_code { get; set; }

        public string CompanyCode
        { get { return _company_code; } set { _company_code = value; this.DoNotify(); } }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string _companyName;

        public string CompanyName
        { get { return _companyName; } set { _companyName = value; this.DoNotify(); } }

        /// <summary>
        /// 客商id
        /// </summary>
        public Nullable<long> _customer_id { get; set; }

        public Nullable<long> CustomerId
        { get { return _customer_id; } set { _customer_id = value; this.DoNotify(); } }

        /// <summary>
        /// 客商编码
        /// </summary>
        public string _customerCode { get; set; }

        public string CustomerCode
        { get { return _customerCode; } set { _customerCode = value; this.DoNotify(); } }

        /// <summary>
        /// 客商名称
        /// </summary>
        public string _customerName;

        public string CustomerName
        { get { return _customerName; } set { _customerName = value; this.DoNotify(); } }

        /// <summary>
        /// 物料id
        /// </summary>
        public Nullable<long> _material_id { get; set; }

        public Nullable<long> MaterialId
        { get { return _material_id; } set { _material_id = value; this.DoNotify(); } }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string _material_code { get; set; }

        public string MaterialCode
        { get { return _material_code; } set { _material_code = value; this.DoNotify(); } }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string _material_name { get; set; }

        public string MaterialName
        { get { return _material_name; } set { _material_name = value; this.DoNotify(); } }

        /// <summary>
        /// 业务员id
        /// </summary>
        public Nullable<long> _person_id { get; set; }

        public Nullable<long> PersonId
        { get { return _person_id; } set { _person_id = value; this.DoNotify(); } }

        /// <summary>
        /// 业务员编码
        /// </summary>
        public string _person_code { get; set; }

        public string PersonCode
        { get { return _person_code; } set { _person_code = value; this.DoNotify(); } }

        /// <summary>
        /// 业务员名称
        /// </summary>
        public string _person_name { get; set; }

        public string PersonName
        { get { return _person_name; } set { _person_name = value; this.DoNotify(); } }

        /// <summary>
        /// 数量
        /// </summary>
        public Nullable<double> _nnum { get; set; }

        public Nullable<double> Nnum
        { get { return _nnum; } set { _nnum = value; this.DoNotify(); } }

        /// <summary>
        /// 单价
        /// </summary>
        public Nullable<double> _nprice { get; set; }

        public Nullable<double> Nprice
        { get { return _nprice; } set { _nprice = value; this.DoNotify(); } }

        /// <summary>
        /// 总价
        /// </summary>
        public Nullable<double> _nmoney { get; set; }

        public Nullable<double> Nmoney
        { get { return _nmoney; } set { _nmoney = value; this.DoNotify(); } }

        /// <summary>
        /// 实际交易数量
        /// </summary>
        public Nullable<double> _act_num { get; set; }

        public Nullable<double> ActNum
        { get { return _act_num; } set { _act_num = value; this.DoNotify(); } }

        /// <summary>
        /// 实际交易金额
        /// </summary>
        public Nullable<double> _act_amount { get; set; }

        public Nullable<double> ActAmount
        { get { return _act_amount; } set { _act_amount = value; this.DoNotify(); } }

        /// <summary>
        /// 合同id
        /// </summary>
        //public long _contract_id { get; set; }
        //public long ContractId { get { return _contract_id; } set { _contract_id = value; this.DoNotify(); } }

        /// <summary>
        /// 合同编码
        /// </summary>
        public string _contract_code { get; set; }

        public string ContractCode
        { get { return _contract_code; } set { _contract_code = value; this.DoNotify(); } }

        /// <summary>
        /// 订单id
        /// </summary>
        public Nullable<long> _order_id { get; set; }

        public Nullable<long> OrderId
        { get { return _order_id; } set { _order_id = value; this.DoNotify(); } }

        /// <summary>
        /// 订单编码
        /// </summary>
        public string _order_code { get; set; }

        public string OrderCode
        { get { return _order_code; } set { _order_code = value; this.DoNotify(); } }

        /// <summary>
        /// 运输任务单id
        /// </summary>
        //public long _transport_task_id { get; set; }
        //public long TransportTaskId { get { return _transport_task_id; } set { _transport_task_id = value; this.DoNotify(); } }

        /// <summary>
        /// 运输任务单编码
        /// </summary>
        public string _transport_task_code { get; set; }

        public string TransportTaskCode
        { get { return _transport_task_code; } set { _transport_task_code = value; this.DoNotify(); } }

        /// <summary>
        /// 厂区id
        /// </summary>
        //public long _factory_area_id { get; set; }
        //public long FactoryAreaId { get { return _factory_area_id; } set { _factory_area_id = value; this.DoNotify(); } }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime start_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime end_time { get; set; }

        /// <summary>
        /// 主车车牌号
        /// </summary>
        public string _carNumber;

        public string CarNumber
        { get { return _carNumber; } set { _carNumber = value; this.DoNotify(); } }

        /// <summary>
        /// 挂车车牌号
        /// </summary>
        public string _trailer_number { get; set; }

        public string TrailerNumber
        { get { return _trailer_number; } set { _trailer_number = value; this.DoNotify(); } }

        /// <summary>
        /// 司机姓名
        /// </summary>
        public string _driver_name { get; set; }

        public string DriverName
        { get { return _driver_name; } set { _driver_name = value; this.DoNotify(); } }

        /// <summary>
        /// 押运员姓名
        /// </summary>
        public string _supercargo_name { get; set; }

        public string SupercargoName
        { get { return _supercargo_name; } set { _supercargo_name = value; this.DoNotify(); } }

        /// <summary>
        /// 司机身份证
        /// </summary>
        public string _driver_card { get; set; }

        public string DriverCard
        { get { return _driver_card; } set { _driver_card = value; this.DoNotify(); } }

        /// <summary>
        /// 押运员身份证
        /// </summary>
        public string _supercargo_card { get; set; }

        public string SupercargoCard
        { get { return _supercargo_card; } set { _supercargo_card = value; this.DoNotify(); } }

        /// <summary>
        /// 司机手机号
        /// </summary>
        public string _driver_phone { get; set; }

        public string DriverPhone
        { get { return _driver_phone; } set { _driver_phone = value; this.DoNotify(); } }

        /// <summary>
        /// 押运员手机号
        /// </summary>
        public string _supercargo_phone { get; set; }

        public string SupercargoPhone
        { get { return _supercargo_phone; } set { _supercargo_phone = value; this.DoNotify(); } }

        /// <summary>
        /// 原发皮重
        /// </summary>
        public string _outer_skin_weight { get; set; }

        public string OuterSkinWeight
        { get { return _outer_skin_weight; } set { _outer_skin_weight = value; this.DoNotify(); } }

        /// <summary>
        /// 原发毛重
        /// </summary>
        public string _outer_gross_weight { get; set; }

        public string OuterGrossWeight
        { get { return _outer_gross_weight; } set { _outer_gross_weight = value; this.DoNotify(); } }

        /// <summary>
        /// 原发净重
        /// </summary>
        public string _outer_net_weight { get; set; }

        public string OuterNetWeight
        { get { return _outer_net_weight; } set { _outer_net_weight = value; this.DoNotify(); } }

        /// <summary>
        /// 原发榜单
        /// </summary>
        public string _outer_weight_img { get; set; }

        public string OuterWeightImg
        { get { return _outer_weight_img; } set { _outer_weight_img = value; this.DoNotify(); } }

        /// <summary>
        /// 皮重
        /// </summary>
        public Nullable<double> _skinWeight;

        public Nullable<double> SkinWeight
        { get { return _skinWeight; } set { _skinWeight = value; this.DoNotify(); } }

        /// <summary>
        /// 毛重
        /// </summary>
        public Nullable<double> _grossWeight;

        public Nullable<double> GrossWeight
        { get { return _grossWeight; } set { _grossWeight = value; this.DoNotify(); } }

        /// <summary>
        /// 净重
        /// </summary>
        public Nullable<double> _netWeight;

        public Nullable<double> NetWeight
        { get { return _netWeight; } set { _netWeight = value; this.DoNotify(); } }

        /// <summary>
        /// 称皮时人体重量
        /// </summary>
        public string skin_driver_weight { get; set; }

        /// <summary>
        /// 称毛时人体重量
        /// </summary>
        public string gross_driver_weight { get; set; }

        /// <summary>
        /// 自定义字段1
        /// </summary>
        public string custom_fields1 { get; set; }

        /// <summary>
        /// 自定义字段2
        /// </summary>
        public string custom_fields2 { get; set; }

        /// <summary>
        /// 自定义字段3
        /// </summary>
        public string custom_fields3 { get; set; }

        /// <summary>
        /// 自定义字段4
        /// </summary>
        public string custom_fields4 { get; set; }

        /// <summary>
        /// 自定义字段5
        /// </summary>
        public string custom_fields5 { get; set; }

        /// <summary>
        /// 自定义字段6
        /// </summary>
        public string custom_fields6 { get; set; }

        /// <summary>
        /// 自定义字段7
        /// </summary>
        public string custom_fields7 { get; set; }

        /// <summary>
        /// 自定义字段8
        /// </summary>
        public string custom_fields8 { get; set; }

        /// <summary>
        /// 自定义字段9
        /// </summary>
        public string custom_fields9 { get; set; }

        /// <summary>
        /// 自定义字段10
        /// </summary>
        public string custom_fields10 { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public Nullable<long> create_user { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        public string create_user_name { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime update_time { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public Nullable<long> update_user { get; set; }

        /// <summary>
        /// 更新人名称
        /// </summary>
        public string update_user_name { get; set; }

        /// <summary>
        /// 客户端流程标识
        /// </summary>
        public string _fac_id { get; set; }

        public string FacId
        { get { return _fac_id; } set { _fac_id = value; this.DoNotify(); } }

        public string _business_code { get; set; }

        public string BusinessCode
        { get { return _business_code; } set { _business_code = value; this.DoNotify(); } }

        public string _source_area { get; set; }

        public string SourceArea
        { get { return _source_area; } set { _source_area = value; this.DoNotify(); } }

        /// <summary>
        /// 单据名称
        /// </summary>
        public string _czName;

        public string CzName
        { get { return _czName; } set { _czName = value; this.DoNotify(); } }

        public string _czTime;

        public string CzTime
        { get { return _czTime; } set { _czTime = value; this.DoNotify(); } }

        /// <summary>
        /// 单据名称
        /// </summary>
        public string _position;

        public string Position
        { get { return _position; } set { _position = value; this.DoNotify(); } }

        /// <summary>
        /// 规格名称
        /// </summary>
        public string _productAttrName;

        public string ProductAttrName
        { get { return _productAttrName; } set { _productAttrName = value; this.DoNotify(); } }

        public string _checkPriceMsg;

        public string CheckPriceMsg
        { get { return _checkPriceMsg; } set { _checkPriceMsg = value; this.DoNotify(); } }

        public string _wai_net_weight { get; set; }

        public string WaiNetWeight
        { get { return _wai_net_weight; } set { _wai_net_weight = value; this.DoNotify(); } }

        public string _sealNumber { get; set; }

        public string SealNumber
        { get { return _sealNumber; } set { _sealNumber = value; this.DoNotify(); } }

        public string _juid;

        public string _curTime;
        public string _prodCode;
        public string _billCode;

        public string Juid
        {
            get { return _juid; }
            set { _juid = value; this.DoNotify(); }
        }

        public string CurTime
        {
            get { return _curTime; }
            set { _curTime = value; this.DoNotify(); }
        }

        public string ProdCode
        {
            get { return _prodCode; }
            set { _prodCode = value; this.DoNotify(); }
        }

        public string billCode
        {
            get { return _billCode; }
            set { _billCode = value; this.DoNotify(); }
        }
    }
}